from django.urls import path

from myapp import views

urlpatterns = [
    path('login/', views.login, name='login'),
    path('register/', views.register, name='register'),
    path('logout/', views.logOut, name='logOut'),
    path('selfInfo/', views.updateSelfInfo, name='updateSelfInfo'),
    path('changePassword/', views.changePassword, name='changePassword'),

    path('home/', views.home, name='home'),

    path('tableData/', views.tableData, name='tableData'),
    path('historyTableData/', views.historyData, name='historyData'),
    path('addHistory/<int:jobId>/', views.addHistory, name='addHistory'),
    path('removeHistory/<int:hisId>/', views.removeHistory, name='removeHistory'),

    path('salary/', views.salaryChar, name='salary'),
    path('company/', views.companyChar, name='company'),
    path('companyTags/', views.companyTagsChar, name='companyTags'),
    path('educational/', views.educationalChar, name='educational'),
    path('companyStatus/', views.companyStatusChar, name='companyStatus'),
    path('address/', views.addressChar, name='address'),
]